package com.atguigu.gulimallflow.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import utils.PageUtils;
import utils.Query;
import com.atguigu.gulimallflow.dao.ActAppAppdefDao;
import com.atguigu.gulimallflow.entity.ActAppAppdefEntity;
import com.atguigu.gulimallflow.service.ActAppAppdefService;



@Service("actAppAppdefService")
public class ActAppAppdefServiceImpl extends ServiceImpl<ActAppAppdefDao, ActAppAppdefEntity> implements ActAppAppdefService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ActAppAppdefEntity> page = this.page(
                new Query<ActAppAppdefEntity>().getPage(params),
                new QueryWrapper<ActAppAppdefEntity>()
        );

        return new PageUtils(page);
    }

}
